<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			/*
			  while(条件表达式){
				  循环体;
			  }
			*/
			var x = 0;
			while (x < 3) {
				// console.log(x);
				x++;
			}

			//输出1-100之间5的倍数的个数
			var n = 1;
			var count = 0;
			while (n <= 100) {
				if (n % 5 == 0) {
					count++;
				}
				n++;
			}
			console.log("1-100之间5的倍数的个数:" + count);
		</script>
	</head>
	<body>
	</body>
</html>
